var rule = {
author: '小可乐/2504/第二版',
title: '骚火电影VIP',
类型: '影视',
//host: 'https://saohuo.tv',
host: 'http://shapp.us',
hostJs: 'HOST = pdfh(request(HOST), "ul&&a:eq(0)&&href")',
headers: {'User-Agent': 'MOBILE_UA'},
编码: 'utf-8',
timeout: 5000,

homeUrl: '/',
url: '/list/fyfilter-fypage.html',
filter_url: '{{fl.cateId}}',
detailUrl: '',
searchUrl: '/search.php?page=fypage&searchword=**&searchtype=',

limit: 9,
double: false,
class_name: '电影&剧集&综艺&动漫',
class_url: '1&2&28&4',
filter_def: {
1: {cateId: '1'},
2: {cateId: '2'},
28: {cateId: '28'},
4: {cateId: '4'}
},

推荐: '*',
一级: '.v_img;a&&title;img&&data-original;.v_note&&Text;a&&href',
搜索: '*',
二级: $js.toString(() => {
let khtml = request(input);
let xq = pdfh(khtml, '.v_info_box&&p--a&&Text').split('/').reverse();
let ktabs = pdfa(khtml, '.from_list&&li').map((it) => { return pdfh(it, 'body&&Text') });
let kurls = pdfa(khtml, '#play_link&&li').map((item) => {
    let kurl = pdfa(item, 'body&&a').map((it) => { return pdfh(it, 'a&&Text') + '$' + pd(it, 'a&&href', input) });
    return kurl.join('#')
});
VOD = {
    vod_id: input,
    vod_name: pdfh(khtml, 'h1&&Text'),
    vod_pic: pdfh(khtml, '.m_background&&style'),
    type_name: /20|19/.test(xq[2]) ? '未知' : xq[2],
    vod_remarks: '未知',
    vod_year: /20|19/.test(xq[2]) ? xq[2].trim() : xq[3].trim(),
    vod_area: /20|19/.test(xq[2]) ? xq[3] : xq[4],
    vod_lang: '未知',
    vod_director: xq[1].replace('导演:',''),
    vod_actor: xq[0].replace('主演:',''),
    vod_content: pdfh(khtml, '.p_txt&&Text'),
    vod_play_from: ktabs.join('$$$'),
    vod_play_url: kurls.join('$$$')
}
}),

play_parse: true,
lazy: $js.toString(() => {
let kurl = input;
let shurl = pdfh(fetch(kurl), 'iframe&&src');
let furl, url, t, key;
if (/api\.hhplayer/.test(shurl)) {
    furl = 'https://api.hhplayer.com';
} else if (/hkjx\.hhplayer/.test(shurl)) {
    furl = 'https://hkjx.hhplayer.com';
} else if (/hhjx\.hhplayer/.test(shurl)) {
    furl = 'https://hhjx.hhplayer.com';
} else if (/play\.hhplayer/.test(shurl)) {
    furl = 'https://play.hhplayer.com/hhjx';
};
let kcode = pdfh(fetch(shurl), 'body&&script:eq(0)&&Html').split('var act')[0].replace(/var /g, '');
eval(kcode);
let fbody = `url=${url}&t=${t}&key=${key}&act=0&play=1`;
let khtml = fetch(`${furl}/api.php`, {
    headers: {
        'User-Agent': MOBILE_UA,
        'Referer': shurl,
        'X-Requested-With': 'XMLHttpRequest'
    },
    body: fbody,
    method: 'POST'
    });
kurl = JSON.parse(khtml).url;
kurl = /http/.test(kurl) ? kurl : `${furl}${kurl}`;
if (/\.(m3u8|mp4)/.test(kurl)) {
    input = { jx: 0, parse: 0, url: kurl, header: { 'User-Agent': MOBILE_UA, 'Referer': shurl } }
} else {
    input = { jx: 0, parse: 1, url: shurl }
}
}),

filter: 'H4sIAAAAAAAAA6XUO08CQRAH8P4+xtYUHByClnYkJjbGhlgQpfJRqYkhJOgF5ZEoGMUX8ojiIQKCJgZP0S/D7t59C894w4wGK8r9XTK789+diytMZTMRJc5WYztshi1HN2PhFeZhG9H1mLOWvTdezjnr7ejalgORONtwmKcatt74ZmehsoTH5WKJZwyXp0Ys0z2hp1wOjljs5kWy6HIIi2Qbw0HJ5WksYhT46xts6cUq6fOhmQHHs8jsoxw0wX20vDwZ1fGj1w9IfQ09Y+Dh1QD6/rF9cQ+OzYq9liwWwEm3elbsXYKTdlMvvKODO/0uJZQlj8J8k14LafnWsC/2gTG6hcVZQMzNrtzjHfqwiPw4JI65ibM6cczNyvWIk9yOusSnxufgC2IOoYmDwLBlqTI0TWkk4RO+LzuZQfd7ad/2TQVcJX2nRL8PjjmJ3sAa3IFjTlbn0+qmwTEnaTZ5pwyOOYl8WbbgHfn/ycmPOWmTxqT9s3WIDGzOGWVwMpp626pBdBoZzeq7KJ6Bq7+eUrfA68/wCdOz2yfi+RScvLKS6Qw6ODlqtcav2uCY3tB84u08OPkVPdStx2vw4Php1v4+GHBseW5+LuxqwDv+bgLqz90oiS/ZAX9cZQUAAA=='
}